package com.my.policy.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhaodongchao
 * @date 2020/3/15 22:01
 **/
@RestController
public class PolicyHandler {

    @GetMapping(value = "/test/{words}")
    public Object hello(@PathVariable(value = "words") String words){
        return words ;
    }
}
